package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_coupon")
public class Coupon implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "coupon_id", type = IdType.AUTO)
    private Integer couponId;

    @TableField(value = "coupon_name")
    private String couponName;

    @TableField(value = "coupon_create_time")
    private Date couponCreateTime;

    @TableField(value = "pon_type")
    private Integer ponType;

    @TableField(value = "start_num")
    private Integer startNum;

    @TableField(value = "end_num")
    private Integer endNum;

    @TableField(value = "coupon_num")
    private Integer couponNum;

    @TableField(value = "ok_num")
    private Integer okNum;

    @TableField(value = "coupon_between")
    private Integer couponBetween;

    @TableField(value = "activity_type")
    private Integer activityType;

    @TableField(value = "activity_ip")
    private String activityIp;

    @TableField(value = "activity_status")
    private Integer activityStatus;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(exist = false)
    private String activityName;


}